//
//  RecordWrapper.m
//  MoneyLog
//
//  Created by Max on 11-3-1.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "RecordWrapper.h"
#import "KindWrapper.h"

@implementation RecordWrapper

@synthesize id;					//序列Id
@synthesize type;				//类别
@synthesize kind;				//种类
@synthesize kindId;
@synthesize subKind;			//子类	
@synthesize kindWrapper;
@synthesize money;				//金额
@synthesize remark;				//备注
@synthesize account;			//帐户
@synthesize money_kind;
@synthesize datetime;			//日期
@synthesize date;				//时间
@synthesize year,month,day;

@synthesize latitude,longitude;
@synthesize imageData;

- (id)init
{
	if (self == super.init){
        
        latitude = -180;
        longitude = -180;
	}
	
	return self;
}


- (void)dealloc
{
	[type release];
	[kind release];
	[subKind release]; 
    [kindWrapper release];
	[remark release];
	[account release];
    [money_kind release];
	[datetime release];
	[date release];
    [imageData release];
	[super dealloc];
}

@end
